<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('微信用户详情')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m-t" id="signupForm">
        <div class="form-group">
            <label class="col-sm-2 control-label">openId：</label>
            <div class="form-control-static" th:text="${user.openId}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">昵称：</label>
            <div class="form-control-static" th:text="${user.nickName}">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">头像：</label>
            <div class="form-control-static">
                <img th:src="${user.photo}" style="width: 100px;height: 100px;"/>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">性别：</label>
            <div class="form-control-static">
                <span th:each="dict : ${@dict.getType('wx_gender')}" th:if="${dict.dictValue} == ${user.gender}"
                      th:text="${dict.dictLabel}"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">描述：</label>
            <div class="form-control-static">
                <pre th:text="${user.remark == '' || user.remark == null ? '无':user.remark}"></pre>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">状态：</label>
            <div class="form-control-static">
                <span th:each="dict : ${@dict.getType('companion_status')}" th:if="${dict.dictValue} == ${user.status}"
                      th:text="${dict.dictLabel}"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">是否删除：</label>
            <div class="form-control-static">
                <span th:each="dict : ${@dict.getType('companion_flag')}" th:if="${dict.dictValue} == ${user.delFlag}"
                      th:text="${dict.dictLabel}"></span>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">创建时间：</label>
            <div class="form-control-static" th:text="${#dates.format(user.createTime, 'yyyy-MM-dd HH:mm:ss')}">
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    $(function () {

    });
</script>
</body>
</html>